import java.util.Vector;

public class SVNTester {
        public static void main(String[] args) {
                System.out.println("Tester start");
                SVNUser user = new SVNUser();
                user.name_ = "stas.artuhin@gmail.com";
                user.pass_ = "CC5xU3pX9dp4";
                user.repo_path_ = "https://repo-for-svn.googlecode.com/svn/trunk/";
                
                SVNClient client = new SVNClient();
        
                client.SetUser(user);
                Vector<SVNCommit> commits = client.GetUserCommits();
                for(int i = 0; i < commits.size(); ++i) {                       
                        System.out.println("Commit " + commits.get(i).rev_);
                        System.out.println("Date: " + commits.get(i).date_);
                        System.out.println("Log msg: " + commits.get(i).log_msg_);
                        System.out.println();
                }
                
                SVNDiff diff = client.GetDiff(2, 3);
                System.out.print(diff.diff_);
        }
}